package com.liang.pcc.excel.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.liang.pcc.domain.HarmonicData;
import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 实测点主表
 */
@Data
@Builder
public class MeasurementPoint {

    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 实测点名称
     */
    private String pointName;

    /**
     * 电压等级
     */
    private BigDecimal voltageLevel;

    /**
     * 最小短路容量
     */
    private BigDecimal shortCircuitCapacity;

    /**
     * 关联Excel文件
     */
    private Long fileId;

    /**
     * 用户ID
     */
    private Long userId;

    @TableField(exist = false)
    private List<HarmonicData> harmonics;
}